﻿<?php
/**
 * Zead
 *
 * LICENSE	
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.opensource.org/licenses/bsd-license.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to eu@marcelomx.com so we can send you a copy immediately.
 *
 * @category   Zead
 * @author     Marcelo Rodrigues Gonzaga <eu@marcelomx.com>
 * @copyright  Copyright (c) 2008 Marcelo Rodrigues Gonzaga
 * @link       http://code.google.com/p/zead 
 * @license    http://www.opensource.org/licenses/bsd-license.php     New BSD License
 *
 **/


/** @see Zead_Html_Helper_Exception **/
require_once 'Zead/Html/Helper/Exception.php';

/**
 * Class Zead_Html_Helper_Abstract
 *
 * @category   Zead
 * @package    Zead_Html
 * @subpackage Zead_Html_Helper
 * @copyright  Copyright (c) 2008 Marcelo Rodrigues Gonzaga 
 * @license    http://www.opensource.org/licenses/bsd-license.php     New BSD License  
 */
abstract class Zead_Html_Helper_Abstract {
	/**
	 * Os atributos padrões para o elemento a ser criado.
	 * @var array
	 */
	protected $_defaultAttributes = array();
	
	/**
	 * Os valores padrões para um atributo a ser aplicado.
	 * @var array
	 */
	protected $_defaultAttributeValues = array();
	
	
	/**
	 * Os atributos que forão atribuídos a este elemento
	 * @var array
	 */
	protected $_settedAttributes  = array();
	
	/**
	 * O elemento html
	 * @var Zead_Html
	 */
	protected $html = null;
	
	/**
	 * Seta o objeto html
	 * @param Zead_Html
	 */
	public function setHTML(Zead_Html_Abstract $html) {
		$this->html = $html;
	}
}
